package org.sixtynine.stock.dao;

/**
 * @author Thilan
 *
 */

import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.SubSector;
import org.springframework.transaction.annotation.Transactional;

@Transactional(readOnly = true)
public interface SubSectorDao extends AbstractDao<SubSector, Integer> {

	void saveSubSector(SubSector subSector);

	List<SubSector> findSubSectors(String subSectorName);
	
	List<SubSector> searchSubSector(int sectorId , String code);

	public Page<SubSector> searchSubSector(int sectorId, String code ,GridPramDTO gridPramDTO);
	
}
